<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>

    <script>
        let arr = ['a', 'b', 'c'];
        console.log(...arr);
        console.log('a', 'b', 'c');

        let arr_2 = ['d', 'e', 'f'];
        let arr_3 = [...arr, ...arr_2];
        console.log(...arr_3);
        var divs = document.getElementsByTagName("div");
        console.log(divs);
        let arr_4 = [...divs];
        arr_4.push("a");
        console.log(...arr_4);
    </script>
</body>

</html>